package com.ithe.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ithe.core.base.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author JinYu
 * @date 2022-09-03
 */
@Data
@TableName("jz_sku")
public class Sku extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String description;

    private Integer number;

    private BigDecimal price;

    private Boolean status;

    private Integer stock;

    @TableField("locked_stock")
    private Integer lockedStock;

}
